<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title>菜单</title>
        <link href="{$Think.const.ADMIN_CSS_URL}bootstrap.css" rel="stylesheet" />
        <link href="{$Think.const.ADMIN_CSS_URL}lz-style.css" rel="stylesheet" />
        <script src="{$Think.const.ADMIN_JS_URL}jquery.js"></script>
        <script src="{$Think.const.ADMIN_JS_URL}jquery.form.js"></script>
        <script src="{$Think.const.ADMIN_JS_URL}bootstrap.js"></script>
    </head>
    <body style="background: #99CCCC">
        <foreach name="firstMenuLst" item="firstrow" >
            <div class="div_menu_first">
                <a id="from_{$firstrow.menuid}" href="#" class="div_menu_link"  data-toggle="collapse" data-target="#to_{$firstrow.menuid}">{$firstrow.menuname}</a> 
            </div>

            <div id="to_{$firstrow.menuid}" class="collapse">
                <assign name="firstrow_menuid" value="$firstrow.menuid" />
                <foreach name="secondMenuLst" item="secondrow" >
                    <if condition="$secondrow.supermenuid eq $firstrow_menuid">
                        <div  class="div_menu_sceond ">
                            <a id="from_{$secondrow.menuid}" href="#" class="div_menu_link" data-toggle="collapse" data-target="#to_{$secondrow.menuid}">{$secondrow.menuname}</a>
                        </div>
                        <div id ="to_{$secondrow.menuid}" class="collapse">
                            <assign name="secondrow_menuid" value="$secondrow.menuid" />
                            <foreach name="thirdMenuLst" item="thirdrow" >
                                <if condition="$thirdrow.supermenuid eq $secondrow_menuid">
                                    <div  class="div_menu_third ">
                                        <a href="__MODULE__/{$thirdrow.menuhref}" class="div_menu_link" target="right">{$thirdrow.menuname}</a>
                                    </div>  
                                </if>
                            </foreach>   
                        </div>
                    </if>
                </foreach>
            </div>
        </foreach>
    </body>
</html>